.form.box.light-gray
  %h2 Вход

  = form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f|

    .left= f.label :email
    .right= f.email_field :email

    .left= f.label :password
    .right= f.password_field :password

    - if devise_mapping.rememberable?
      .left &nbsp;
      .right
        = f.check_box :remember_me
        = f.label :remember_me

    .left &nbsp;
    .right.actions
      = f.submit "Войти", :class =>"btn primary small"

    .links
      = render 'links'